Skip to content

Preserve RabbitMQ topic names in queue stats#1420

Open
abishekgiri wants to merge 1 commit intoiii-hq:mainfrom
abishekgiri:rabbitmq-topic-name-parsing
Open

Preserve RabbitMQ topic names in queue stats#1420
abishekgiri wants to merge 1 commit intoiii-hq:mainfrom
abishekgiri:rabbitmq-topic-name-parsing

Conversation

@abishekgiri
Copy link
Copy Markdown
Contributor

@abishekgiri abishekgiri commented Apr 7, 2026

Summary

  • preserve the full topic name when RabbitMQ subscription keys are parsed for topic stats and topic listings
  • switch the parsing logic to split from the right so topics containing colons are counted under the correct name
  • add a regression test for a topic like orders:v1

Testing

  • cargo test -p iii subscription_topic_preserves_topics_with_colons -- --nocapture

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 7, 2026

@abishekgiri is attempting to deploy a commit to the motia Team on Vercel.

A member of the Team first needs to authorize it.

@abishekgiri
Copy link
Copy Markdown
Contributor Author

Updated RabbitMQ topic reporting so subscription keys are parsed from the right instead of the left. That keeps topic stats and list-topics output correct when the topic name itself contains colons, and it adds a regression test for that shape.

@abishekgiri abishekgiri marked this pull request as ready for review April 7, 2026 00:41
@abishekgiri abishekgiri marked this pull request as draft April 7, 2026 00:43
@abishekgiri abishekgiri marked this pull request as ready for review April 7, 2026 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant